package com.turing.system.service;

import com.alibaba.fastjson.JSONObject;
import com.turing.system.entity.KeeperWithdrawals;
import com.baomidou.mybatisplus.extension.service.IService;
import result.Result;

import java.util.LinkedHashMap;
import java.util.List;

/**
* @author admin
* @description 针对表【keeper_withdrawals(店主或管理员流水)】的数据库操作Service
* @createDate 2023-05-08 16:40:08
*/
public interface KeeperWithdrawalsService extends IService<KeeperWithdrawals> {

    /**
     * 增加商家流水
     * @param json
     * @return
     */
    Result kwAddSave(JSONObject json);


    List<LinkedHashMap<String,Object>> kwList(String merchantName,Integer pageNum,Integer pageSize);

    List<LinkedHashMap<String, Object>> kwListMap();


}
